-- plunder_update
-- create by dengc
-- 推送：掠夺列表刷新

return{
    getLeftTime = function()
        local nextRefreshTime = ME.user.dbase:query("next_relic_time", 0);
        local curTime = TimeM.getServerTime();
        local leftTime = nextRefreshTime - curTime;

        if leftTime <= 0 then
            return 0;
        end

        return leftTime;
    end
};
